package com.spotalog.shared;

import java.util.Date;

import com.google.inject.AbstractModule;
import com.google.inject.Provides;
import com.spotalog.shared.annotations.Now;

public class CommonModule extends AbstractModule {

	@Override
	protected void configure() {}

	@Provides
	@Now
	long provideNowValue() {
		return System.currentTimeMillis();
	}

	@Provides
	@Now
	Date provideNow() {
		return new Date();
	}
}
